<?

if(!defined(SCOT_SOURCE)) {
	define('SCOT_SOURCE', true);
	
	define('SCOT_SOURCE_BLOG_NAME', 01);
	define('SCOT_SOURCE_SITE_URL', 02);
	define('SCOT_SOURCE_USER_NAME', 11);
	define('SCOT_SOURCE_POST_TITLE', 21);
	define('SCOT_SOURCE_POST_DATE', 22);
	define('SCOT_SOURCE_TAG_NAME', 31);
	define('SCOT_SOURCE_TAGCLOUD_ID', 03);
	
	class Source {
		var $db = null;
		var $userList = null;
		var $userPostList = null;
		var $postTagList = null;
	
		function getUserList() {
			echo('Exception : Abstract Method Unimplementation Exception : getUserPostList()<br>');
		}

		function getUserPostList() {
			echo('Exception : Abstract Method Unimplementation Exception : getUserPostList()<br>');
		}
		
		function getPostTagList() {
			echo('Exception : Abstract Method Unimplementation Exception : getPostTagList()<br>');
		}
		
		function getInfo() {
			echo('Exception : Abstract Method Unimplementation Exception : getInfo()<br>');
		}
		
		function getDateFormat() {
			echo('Exception : Abstract Method Unimplementation Exception : getDateFormat()<br>');
		}
		
		function getDB() {
			if(!isset($db)) {
				$db = new DB();
			}
			return $db;
		}
	}
}
?>